package com.leinao.constant;

/**
 * @author  wangshoufa 
 * @date 2018年11月28日 下午5:56:52
 *
 */

public enum ModelEnum {

	MODEL_ID_IS_EMPTY_ERROR(1000, "model is can not be null"),

	MODEL_ATTENTION_FLAG_EMPTY_ERROR(1001, "model attention flag can not be null"),

	MODEL_ATTENTION_FLAG_IS_ERROR(1002, "model attention flag is error"),

	MODEL_IS_NOT_EXIST_ERROR(1003, "model is not exist"),

	USER_ATTENTION_OWN_MODEL_ERROR(1004, "user can not attention own model"),

	MODEL_NO_ATTENTION_BY_USER_ERROR(1005, "user is not attention this model"),

	MODEL_ATTENTION_RELATION_DELETE_ERROR(1006, "user attention model error"),

	MODEL_IS_ATTENTION_BY_USER_ERROR(1007, "user is attention own model"),

	MODEL_ATTENTION_RELATION_INSERT_ERROR(1008, "user attention model error"),

	MODEL_IS_NO_CREATER(1009, "model is no creater"),

	USER_IS_NOT_CREATER(1010, "user is not creater"),

	DELETE_MODEL_ERROR(1011, "delete model error"),

	MODEL_IS_NOT_PUBLIC(1012, "model is not public"),

	MODELIDS_IS_EMPTY_EEEOR(1013, "model ids can be null"),

	;

	private Integer seq;

    private String desc;

    ModelEnum(Integer seq, String desc) {
        this.seq = seq;
        this.desc = desc;
    }

	public int getSeq() {
		return seq;
	}

	public String getDesc() {
		return desc;
	}
	
}
